package com.glacier.framework.cloud.seata;

import com.glacier.framework.boot.factory.YamlPropertySourceFactory;
import io.seata.spring.annotation.datasource.EnableAutoDataSourceProxy;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
import org.springframework.core.io.support.DefaultPropertySourceFactory;

/**
 * date 2024-01-29 10:58
 *
 * @author glacier
 * @version 1.0
 */
@PropertySource(value = "classpath:seata-config.yaml", factory = YamlPropertySourceFactory.class)
@EnableAutoDataSourceProxy(useJdkProxy = true)
@Configuration(proxyBeanMethods = false)
public class SeataAutoConfiguration {
}
